package biz.inspeed.test.socket;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;
import java.net.UnknownHostException;

public class SocketClient1
{

	/**
	 * @param args
	 * @throws IOException 
	 * @throws UnknownHostException 
	 */
	public static void main ( String [ ] args ) throws Exception
	{
		Socket client = new Socket ( "127.0.0.1" , 9999 );
		OutputStream out = client.getOutputStream ();
		out.write ( "1111111111111111".getBytes () );
		out.write ( "2222222222222222222222222".getBytes () );
		
//		out.close ();
//		client.close ();
	}

}
